<p>home works!</p>

<button (click)="titleChange()">点击</button>
<hr>
<p *ngFor="let item of list">{{item}}</p>
<app-title [title]="title" (addList)="addList($event)"></app-title>
<p *ngFor="let item of listcolor">{{item}}</p>
<button (click)="addyellow()">加入黄色</button>